﻿// --------------------------------------------------------------------------------------
// <copyright file="IProduct.cs" company="NGroup">
// Copyright (c) NGroup. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------
// <history>
//     <change who="Nguyen Vu Nam" date="2013.12.19">Create</change>
// </history>
// --------------------------------------------------------------------------------------

namespace NGroup.VTL.Service.Abstraction
{
    using System.Collections.Generic;
    using NGroup.VTL.Core.Const;
    using NGroup.VTL.Models;

    public interface IRetrieveContentService
    {
        NewsModel GetNewsDetail(string uniqueString, LanguageCodes lang);
        List<ProductModel> GetProductListByTypeAndPagingInfo(int parentTypeID, int? childTypeID, LanguageCodes lang, ref PagingInfoModel pagingInfo);
        ProductModel GetProductDetail(int parentTypeID, int childTypeID, string uniqueString, LanguageCodes lang, out List<ProductModel> relatedProducts);
        List<NewsModel> GetNewsListByTypeAndPagingInfo(int? typeID, LanguageCodes lang, ref PagingInfoModel pagingInfo);
        Dictionary<string, List<ProductModel>> GetHomePageProductList(LanguageCodes lang);
        bool PlaceOrder(OrderModel order);
    }
}
